
I wanted to display in real time the orders that the restaurant receives, so I decided to create a bun server that recive some notification from square and from the clients page and display them in real time.
Websockets
Using websockets, I was able to display the orders in real time in the restaurant's kitchen.
- Implemented a simple websocket server with Bun
- Create a client to connect to the server
- Display the orders in real time
- Edit the orders state immediately
